﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="CommonDictionaryUpdForm.aspx.cs" Inherits="App_Master_CommonDictionaryUpdForm" Title="数据字典维护" %>
<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>

    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Panel ID="PanelNavigate" runat="server" />
    
    <cc1:ComValidator ID="ComValidator1" runat="server"
                        Visible="False">
        <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="txtDictNo">
            <cc1:ComAbsParamsAttribute Parameter="字典编号" />
        </cc1:CheckRequiredAttribute>
        <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="txtCatalog">
            <cc1:ComAbsParamsAttribute Parameter="目录编号" />
        </cc1:CheckRequiredAttribute>
        <cc1:CheckLongAttribute Code="E0322" ControlToValidator="txtOrderNo">
            <cc1:ComAbsParamsAttribute Parameter="排序号" />
        </cc1:CheckLongAttribute>
    </cc1:ComValidator>

    <table width="80%">
        <tr>
            <td>
                <table class="table_border_line" >
                    <tr>
                        <th align="left" colspan="6" style="text-align: left;">
                            <script language="javascript">
                                        (new TitleBar('SearchBar', '字典维护')).showBar();
                            </script>
                            </th>
                    </tr>
                </table>
                <table class="table_border_line"  style="background:ffffff">
                    <tr>
                        <td>&nbsp;</td>
                        <td class="list_data_bg_left">字典编号：</td>
                        <td >
                            <asp:TextBox ID="txtDictNo" runat="server" cssClass="default" MaxLength="10" Width="280" ReadOnly="true" />
                        </td>
                        <td colspan="3" align="right">&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="list_data_bg_left">目录编号：</td>
                        <td >
                            <asp:TextBox ID="txtCatalog" runat="server" cssClass="default" MaxLength="100" Width="280" ReadOnly="true" />
                        </td>
                        <td colspan="3" align="right">&nbsp;</td>
                    </tr>                                                                                                                   
                    <tr>
                        <td>&nbsp;</td> 
                        <td class="list_data_bg_left">目录名称：</td>
                        <td >
                            <asp:TextBox ID="txtTitle" runat="server" cssClass="default" MaxLength="50" Width="280" />
                        </td>
                        <td colspan="3" align="right">&nbsp;</td>
                    </tr>
                    
                    <tr>
                        <td>&nbsp;</td>
                        <td class="list_data_bg_left">字典内容：</td>
                        <td >
                            <asp:TextBox ID="txtContent" runat="server" cssClass="default" MaxLength="128" Width="280" />    
                        </td>
                        <td colspan="3" align="right">&nbsp;</td>
                    </tr>
                    
                    <tr>
                        <td>&nbsp;</td>
                        <td class="list_data_bg_left">默认值：</td>
                        <td ><asp:CheckBox ID="chkDefault" runat="server" /></td>
                        <td colspan="3" align="right">&nbsp;</td>
                    </tr>
                    
                    <tr>
                        <td>&nbsp;</td>
                        <td class="list_data_bg_left">排序号：</td>
                        <td ><asp:TextBox ID="txtOrderNo" runat="server" cssClass="default" MaxLength="5" Width="50"/></td>
                        <td colspan="3" align="right">&nbsp;</td>
                    </tr>                    
                </table>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Button ID="btnUpdate" runat="server" Text="  登 入  " cssClass="button" OnClick="btnUpdate_Click" />&nbsp;
                <asp:Button ID="btnDelete" runat="server" Text="  删 除  " cssClass="button" OnClick="btnDelete_Click" OnClientClick="return window.confirm('是否删除数据？')"/>&nbsp;
                <input type="submit" name="Submit" value="  取 消  " class="button" />&nbsp;
                <asp:Button ID="btnExit" runat="server" Text="  返 回  " cssClass="button" OnClick="btnExit_Click"/>
            </td>
        </tr>
    </table>
</asp:Content>

